#!/bin/bash

for n in `seq 1 $1`
do
    cpu1=$((n - 1))
    echo "Running essex$n on CPUs: $cpu1"
    taskset -c $cpu1 VBoxHeadless -vrde off -startvm essex$n &
    sleep 20
done
  
